/* 增强文章列表样式 */
.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.articles-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-select {
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.sorting-options {
    display: flex;
    gap: 0.5rem;
}

.sort-btn {
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.sort-btn.active, .sort-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--primary);
    color: white;
}

.articles-count {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* 紧凑型文章卡片 */
.compact-article-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(44, 62, 80, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.compact-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(52, 152, 219, 0.3);
}

.compact-article-img {
    min-width: 120px;
    height: 120px;
    border-radius: 8px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.compact-article-content {
    flex: 1;
}

.compact-article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.compact-article-stats {
    display: flex;
    gap: 1.2rem;
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .compact-article-card {
        flex-direction: column;
    }

    .compact-article-img {
        width: 100%;
        height: 160px;
    }
}

<!-- 简洁的下拉菜单样式修复 -->

/* 下拉菜单整体样式 */
.filter-select {
    padding: 0.7rem 1.2rem;
    border-radius: 30px !important; /* 确保圆角 */
    background: rgba(26, 26, 46, 0.8) !important; /* 深色背景 */
    color: #ecf0f1 !important; /* 浅色文字 */
    border: 1px solid rgba(52, 152, 219, 0.5) !important; /* 蓝色边框 */
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    width: 180px;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
}

/* 修复白边问题 */
.filter-select:focus {
    outline: none;
    border: 1px solid var(--primary) !important; /* 聚焦时蓝色边框 */
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3) !important; /* 蓝色发光效果 */
}

/* 鼠标悬停效果 */
.filter-select:hover {
    background: rgba(26, 26, 46, 0.9) !important;
    border: 1px solid var(--primary) !important; /* 悬停时蓝色边框 */
}

/* 下拉箭头样式 */
.filter-select-wrapper {
    position: relative;
    display: inline-block;
}

.filter-select-wrapper::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.7rem;
    pointer-events: none;
}

/* 下拉选项样式 */
.filter-select option {
    background: rgba(26, 26, 46, 0.95);
    color: #ecf0f1;
    padding: 8px;
}

/* 下拉选项悬停效果 */
.filter-select option:hover {
    background: var(--primary) !important;
    color: white !important;
}
